/* 全局样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
}

:root {
	--primary-blue: #1EA0FF;
	--accent-red: #e63946;
	--light-bg: #f8f9fa;
	--dark-text: #2d3748;
	--light-text: #ffffff;
	--border-color: #e2e8f0;
	--highlight-color: #f59e0b;
}

body {
	background-color: #f8f9fa;
	color: #2d3748;
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 优化后的顶部导航栏 */
.header {
	background-color: #1EA0FF;
	color: #ffffff;
	padding: 12px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	font-size: 22px;
	font-weight: 700;
	flex-shrink: 0;
	background: url("../images/logo2.png") center center no-repeat;
}

.logo span {
	color: #f8bb28;
}

/* 优化后的导航菜单 */
.nav-container {
	display: flex;
	align-items: center;
	width: 100%;
}

.nav-menu {
	display: flex;
	list-style: none;
	white-space: nowrap;
	/* 关键属性：防止文字换行 */
	overflow-x: auto;
	/* 在空间不足时允许水平滚动 */
	-ms-overflow-style: none;
	/* IE下隐藏滚动条 */
	scrollbar-width: none;
	/* Firefox下隐藏滚动条 */
}

.nav-menu::-webkit-scrollbar {
	display: none;
	/* Chrome/Safari下隐藏滚动条 */
}

.nav-item {
	position: relative;
	margin: 0 12px;
	/* 减小间距 */
}

.nav-item a {
	text-decoration: none;
	color: white;
	font-weight: 500;
	padding: 8px 0;
	display: block;
	transition: all 0.3s;
	border-bottom: 2px solid transparent;
	font-size: 15px;
	/* 略微减小字体大小 */
	white-space: nowrap;
	/* 再次确保不换行 */
}

.nav-item a:hover {
	color: white;
	border-bottom: 2px solid #e63946;
}

.nav-item.active a {
	color: white;
	border-bottom: 2px solid #941C1B;
}

.header-notice {
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 30px;
	padding: 6px 12px;
	font-size: 13px;
	margin-left: 15px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	/* 防止通知文字换行 */
	flex-shrink: 0;
	color: white;
	    position: fixed;
    margin-left: 46%;
}

.header-notice i {
	margin-right: 5px;
	color: #941C1B;
}

/* 主体内容 */
.main-content {
	display: flex;
	padding: 30px 0;
	gap: 25px;
}

/* 左侧面板 */
.left-panel {
	flex: 0 0 300px;
}

.panel-section {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	padding: 25px;
	margin-bottom: 25px;
}

.section-title {
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: 600;
	color: #2d3748;
}

.section-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50px;
	height: 3px;
	background: #941C1B;
}

.welcome-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #941C1B;
	color: #ffffff;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 15px;
}

.welcome-text h3 {
	font-size: 18px;
	margin-bottom: 5px;
	font-weight: 600;
}

.date-box {
	text-align: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 10px;
	min-width: 110px;
}

.date-box .day {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 5px;
	color: #f8bb28;
}

.date-box .date-text {
	font-size: 14px;
}

.form-group {
	margin-bottom: 18px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	color: #2d3748;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
	transition: all 0.3s;
}

.form-control:focus {
	border-color: #1EA0FF;
	outline: none;
	box-shadow: 0 0 0 3px rgba(26, 86, 163, 0.15);
}

.btn {
	display: inline-block;
	padding: 12px 25px;
	background: #941C1B;
	color: #ffffff;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s ease;
	font-weight: 500;
	border: none;
	cursor: pointer;
	font-size: 15px;
	width: 100%;
	text-align: center;
}

.btn:hover {
	background: #1a4a8a;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.news-list {
	list-style: none;
}

.news-list li {
	padding: 12px 0;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	align-items: flex-start;
    text-align: left;
}

.news-list li:last-child {
	border-bottom: none;
}

.news-date {
	display: inline-block;
	background: #f1f5f9;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 13px;
	color: #4a5568;
	margin-right: 15px;
	min-width: 85px;
	flex-shrink: 0;
}

.news-title {
	font-size: 15px;
	color: #2d3748;
	flex: 1;
	transition: all 0.3s;
}

.news-list li:hover .news-title {
	color: #941C1B;
}

/* 中间面板 */
.center-panel {
	flex: 1;
}

.company-intro {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	padding: 25px;
	margin-bottom: 25px;
}

.company-intro h3 {
	font-size: 24px;
	margin-bottom: 15px;
	color: #941C1B;
}

.intro-text {
	margin-bottom: 20px;
	line-height: 1.8;
}

.features {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin-top: 30px;
}

.feature-card {
	flex: 1;
	min-width: 250px;
	background: #f1f7fe;
	border-radius: 10px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: all 0.3s;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
	background: #941C1B;
	color: white;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 24px;
}

.feature-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #2d3748;
}

.feature-text {
	font-size: 14px;
	color: #718096;
}

/* 右侧面板 */
.right-panel {
	flex: 0 0 280px;
}

.branch-card {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	padding: 25px;
	margin-bottom: 25px;
}

.branch-item {
	padding: 15px 0;
	border-bottom: 1px solid #e2e8f0;
}

.branch-item:last-child {
	border-bottom: none;
}

.branch-name {
	font-weight: 600;
	margin-bottom: 8px;
	color: #2d3748;
	font-size: 16px;
    text-align: left;
}

.contact-info {
	font-size: 14px;
	color: #4a5568;
	line-height: 1.7;
}

.contact-info i {
	width: 20px;
	text-align: center;
	margin-right: 8px;
	color: #941C1B;
}

.highlight-box {
	background: linear-gradient(to right, #f9f3ed, #fff4f2);
	border-left: 4px solid #e63946;
	padding: 20px;
	border-radius: 0 8px 8px 0;
	margin-top: 20px;
}

.highlight-title {
	font-weight: 600;
	font-size: 18px;
	margin-bottom: 10px;
	color: #2d3748;
}

/* 页脚 */
.footer {
	background-color: #1EA0FF;
	color: white;
	padding: 50px 0 30px;
}

.footer-content {
	display: flex;
	gap: 40px;
	margin-bottom: 30px;
}

.footer-widget {
	flex: 1;
}

.footer-widget h3 {
	margin-bottom: 20px;
	font-size: 18px;
	position: relative;
	padding-bottom: 10px;
}

.footer-widget h3::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background: #941C1B;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: white;
	text-decoration: none;
	transition: all 0.3s;
	font-size: 14px;
}
.footer-links a:hover {
	color: #941C1B;
	padding-left: 5px;
}
.footer-links-left {
	list-style: none;
}

.footer-links-left li {
	margin-bottom: 10px;
}

.footer-links-left a {
	color: black;
	text-decoration: none;
	transition: all 0.3s;
	font-size: 14px;
}
.footer-links-left a:hover {
	color: #f59e0b;
	padding-left: 5px;
}

.contact-item {
	margin-bottom: 12px;
	display: flex;
	align-items: flex-start;
}

.contact-item i {
	color: #941C1B;
	margin-right: 10px;
	margin-top: 5px;
}

.copyright {
	text-align: center;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 - 优化了导航栏 */
@media (max-width: 1200px) {
	.nav-item {
		margin: 0 8px;
	}

	.nav-item a {
		font-size: 14px;
	}
}

@media (max-width: 992px) {
	.main-content {
		flex-direction: column;
	}

	.left-panel,
	.right-panel {
		flex: 1;
	}

	.features {
		flex-direction: column;
	}

	.nav-menu {
		max-width: 80%;
	}

	.header-notice {
		font-size: 12px;
		padding: 4px 10px;
	}
}

@media (max-width: 768px) {
	.logo {
		font-size: 18px;
	}

	.nav-container {
		overflow-x: auto;
		padding-bottom: 5px;
	}

	.nav-item {
		margin: 0 6px;
	}

	.nav-item a {
		font-size: 13px;
	}

	.header-notice {
		display: none;
	}

	.features {
		flex-direction: column;
	}
}

@media (max-width: 576px) {
	.nav-item {
		margin: 0 4px;
	}

	.logo {
		font-size: 16px;
		flex-shrink: 0;
	}
}